﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="seal_order_delete.aspx.cs" Inherits="seal_seal_order_delete" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>シール注文書詳細</title>
    <meta   http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link type="text/css" rel="stylesheet" href="../css/global.css" />
    <script src="../js/jquery-1.6.min.js" type="text/javascript"></script>

</head>
<body leftmargin="20" topmargin="5" marginwidth="20" marginheight="5">

<FORM id="formID" runat="server">
<%
    Kaidou.Model.LoginModel login = (Kaidou.Model.LoginModel)Session["loginModel"];
    Kaidou.Model.Order order = (Kaidou.Model.Order)Session["order"];
    Kaidou.Model.TrnJuchuh tjh = order.getJuchu_H();
    Kaidou.Model.TrnJuchud[] trn_model_d = order.getJuchu_D();
%>
	<table width="600" border="0" cellspacing="0" cellpadding="0" align="center">
		<tr> 
			<td> 
				<table width="600" border="0" cellspacing="0" cellpadding="0">
					<tr> 
						<td width="10">　</td>
						<td width="400"><h2><asp:Label ID="htitle" runat="server"></asp:Label></h2>
							回胴式遊技機商業協同組合　事務局　</td>
						<td width="180" valign="bottom"> 
						
					</td>
					<td width="10" valign="bottom">　</td>
					</tr>
					<tr> 
						<td colspan="4"> 
							<hr width="100%" size="1">
						</td>
					</tr>
				</table>
				
			
				<table width="600" border="0" cellspacing="2" cellpadding="2">
					<tr> 
						<td width="310">　</td>
						<td width="100"> 注文日：</td>
						<td width="190">
						    <asp:Label runat="server" ID="JUCHU_DATE"></asp:Label>
						</td>
					</tr>
					
					<% 
                        //tjh.FaxRcvDate != null && !tjh.FaxRcvDate.ToString().Equals("")		    
                        if (!login.isJimukyoku() && !login.isOperator())
                        { 
				    %>
				    <tr> 
					    <td width="310">　</td>
					    <td width="100">受信日時： </td>
					    <td width="190"><%=((DateTime)(tjh.FaxRcvDate)).ToString("yyyy年MM月dd日 hh:mm") %> </td>
				    </tr>
				    <% 
					    }
				    %>
    				
					<tr> 
						<td width="310">　</td>
						<td width="100"> 組合員コード：</td>
						<td width="190">
						<asp:Label ID="MST_UNION_CODE" runat="server"></asp:Label>
						</td>
					</tr>
					<tr> 
						<td width="310">　</td>
						<td width="100"> 組合員名：</td>
						<td width="190">
						<asp:Label ID="ParentOfficeName" runat=server></asp:Label>
						</td>
					</tr>
					<tr> 
						<td width="310">　</td>
						<td width="100"> 支店名：</td>
						<td width="190">
						<asp:Label ID="MST_BRANCH_CODE" runat="server"></asp:Label>  <asp:Label ID="Branch_office_name" runat="server"></asp:Label>
						</td>
					</tr>
					<tr> 
						<td width="310">　</td>
						<td width="100"> 注文担当者：</td>
						<td width="190"> <asp:Label ID="TRN_JUCHU_TANTO_NAME" runat="server"></asp:Label> 様</td>
					</tr>
				</table>
				<br>
				<table width="600" border="0" cellspacing="0" cellpadding="0">
					<tr height="50"> 
						<td width="33%" align="center"><font size="+2"><b><h1>確認シール注文書</h1> 
							</b></font> </td>
				</table>
				<br>
				<table width="600" border="0" cellspacing="0" cellpadding="0">
					<tr> 
						<td colspan="2"> 
							<p><b><font color="#666666">1.確認シール送付先</font></b></p>
						</td>
					</tr>
				</table>
				<br>
				<table width="50%" border="0" cellspacing="0" cellpadding="0" bgcolor="#999999">
					<tr> 
						<td width="0" height="0"> 
							
              <table width="100%" border="0" cellspacing="1" cellpadding="2">
                <tr> 
                	<td width="15%" bgcolor="#f0f0f0" nowrap><asp:Label ID="addressmsg" runat="server"></asp:Label></td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
				<br>
				<br>
				<table width="600" border="0" cellspacing="0" cellpadding="0">
					<tr> 
						<td colspan="2"> 
							<p><b><font color="#666666">2.注文内容</font></b></p>
						</td>
					</tr>
				</table>
				<br>
				<table width="600" border="0" cellspacing="2" cellpadding="2">
					<tr> 
						<td width="115">配達希望日</td>
						<td width="485">
						    <asp:Label ID="TRN_HOPE_DATE" runat="server"></asp:Label>
							
					</tr>
					<tr> 
						<td width="115">配達希望時間帯</td>
						<td width="485">
						    <asp:Label ID="TRN_HOPE_TIME_CLSS" runat="server"></asp:Label>
						</td>
					</tr>
				</table>
				<br>
				・販売業者登録証番号の印字希望なしの場合<br>
				<table width="600" border="0" cellspacing="0" cellpadding="0" bgcolor="#999999">
					<tr> 
						<td width="0" height="0"> 
							
                          <table width="100%" border="0" cellspacing="1" cellpadding="2">
                            <tr> 
									<td bgcolor="#f0f0f0" width="55%"> 
										<div align="center">登録証番号</div>
									</td>
									<td bgcolor="#f0f0f0" width="15%"> 
										<div align="center">枚数</div>
									</td>
									<td bgcolor="#f0f0f0" width="30%"> 
										<div align="center">確認シール番号</div>
									</td>
								</tr>
	    
								<tr bgcolor="#FFFFFF"> 
									<td> 
										<div align="center">印字なし</div>
									</td>
									<td> 
										<div align="right"><asp:Label ID="TRN_SEAL_QTY1"  runat="server"></asp:Label>枚</div>
									</td>
									<td> 
										<div align="center">～</div>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
				<br>
				・販売業者登録証番号の印字希望ありの場合<br>
				<table width="600" border="0" cellspacing="0" cellpadding="0" bgcolor="#999999">
				<tr> 
					<td width="0" height="0"> 
				        <table width="100%" border="0" cellspacing="1" cellpadding="2">
                        <tbody><tr> 
									<td bgcolor="#f0f0f0" width="30%"> 
										<div align="center">登録証番号</div>
									</td>
									<td bgcolor="#f0f0f0" width="25%"> 
										<div align="center">会社名</div>
									</td>
									<td bgcolor="#f0f0f0" width="15%"> 
										<div align="center">枚数</div>
									</td>
									<td bgcolor="#f0f0f0" width="30%"> 
										<div align="center">確認シール番号</div>
									</td>
								</tr>
					
					
								<tr bgcolor="#FFFFFF"> 
									<td> 
										<div align="center">
										<asp:Label ID="TRADER_REG_NO2"  runat="server"></asp:Label>
										
										
										</div>
									</td>
									<td>
										<div align="left"><asp:Label ID="TRADER_REG_NO_LABEL2" runat="server"></asp:Label></div>
									</td>
									<td> 
										<div align="right"><asp:Label ID="TRN_SEAL_QTY2"   runat="server"></asp:Label>枚</div>
									</td>
									<td> 
										<div align="center">～</div>
									</td>
								</tr>
					
								<tr bgcolor="#FFFFFF"> 
									<td> 
										<div align="center">
										<asp:Label ID="TRADER_REG_NO3"  runat="server"></asp:Label>
										
										</div>
									</td>
									<td>
										<div align="left"><asp:Label ID="TRADER_REG_NO_LABEL3" runat="server"></asp:Label></div>
									</td>
									<td> 
										<div align="right"><asp:Label ID="TRN_SEAL_QTY3"  runat="server"></asp:Label>枚</div>
									</td>
									<td> 
										<div align="center">～</div>
									</td>
								</tr>
					
								<tr bgcolor="#FFFFFF"> 
									<td> 
										<div align="center">
										<asp:Label ID="TRADER_REG_NO4" runat="server"></asp:Label>
										
										</div>
									</td>
									<td>
										<div align="left"><asp:Label ID="TRADER_REG_NO_LABEL4" runat="server"></asp:Label></div>
									</td>
									<td> 
										<div align="right"><asp:Label ID="TRN_SEAL_QTY4"  runat="server"></asp:Label>枚</div>
									</td>
									<td> 
										<div align="center">～</div>
									</td>
								</tr>
					
								<tr bgcolor="#FFFFFF"> 
									<td> 
										<div align="center">
										<asp:Label ID="TRADER_REG_NO5" runat="server"></asp:Label>
										
										</div>
									</td>
									<td>
										<div align="left"><asp:Label ID="TRADER_REG_NO_LABEL5" runat="server"></asp:Label></div>
									</td>
									<td> 
										<div align="right"><asp:Label ID="TRN_SEAL_QTY5"   runat="server"></asp:Label>枚</div>
									</td>
									<td> 
										<div align="center">～</div>
									</td>
								</tr>
						
						
						
						
								<tr bgcolor="#FFFFFF"> 
									<td colspan="2" bgcolor="#f0f0f0"> 
										<div align="right">合計枚数</div>
									</td>
									<td> 
										<div align="right"> <asp:Label ID="sum"   runat="server"></asp:Label>枚 </div>
									</td>
									<td> 
										<div align="center">～</div>
									</td>
								</tr>
							</tbody>
						</table>
					</td>
				</tr>
			</table>
				<br>

      
				<br>
				<table width="600" border="0" cellspacing="0" cellpadding="0" bgcolor="#999999">
					<tr> 
						<td width="0" height="0"> 
							
              <table width="100%" border="0" cellspacing="1" cellpadding="2">
                <tr bgcolor="#f0f0f0"> 
									<td width="50%" nowrap>発注（回胴遊商→印刷会社）</td>
									<td width="50%" nowrap>発送（印刷会社→組合員）</td>
								</tr>
								<tr bgcolor="#f0f0f0"> 
									<td width="50%" valign="top" nowrap>発注日<br>
										担当者</td>
									<td width="50%" valign="top" nowrap>発送日<br>
										担当者<br>
										配送会社<br>
										伝票番号</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
				<br>
				<font color="#FF0000">上記内容を削除します。</font><br>
				<br>
				<table width="600" border="0" cellpadding=0 cellspacing=0>
				<tr> 
					<td width="590"> 
						<asp:Button ID="Button1" Text="削除確定" runat="server" OnClick="update" />
						&nbsp; 
						<input type="button" value="戻る" onClick="history.back();">
					</td>
					
				</tr>
			</table>
			</td>
		</tr>
	</table>
	<br>
	<br>
</FORM>
	</body>
</html>